package com.zy.edu.service;

import com.zy.edu.bean.Classinfo;
import com.zy.edu.bean.Jurisdiction;
import com.baomidou.mybatisplus.service.IService;
import com.zy.edu.bean.InputParam;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HuangHaiShui
 * @since 2021-07-13
 */
public interface JurisdictionService extends IService<Jurisdiction> {
    public Map saveOrUpdate(Jurisdiction jurisdiction);
    public Map list(Jurisdiction jurisdiction, InputParam inputParam);
    public Map dele( Jurisdiction jurisdiction);
    /**
     * @Author: HuangHaiShui
     * @Description:超管登录后需要用的信息
     * @Date: 16:46 2021/7/14
     * @param :
     * @return: List<Jurisdiction>
     **/
    public List<Jurisdiction> findBySuper();
    Map getById(Jurisdiction jurisdiction, InputParam inputParam);

    Map getJurisByRole(Integer roleType,String userId);
}
